package com.woniu.model.sportsHealth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 体重表
 * </p>
 *
 * @author Jet
 * @since 2023-10-23
 */
@Getter
@Setter
  @TableName("sh_weight")
@ApiModel(value = "Weight对象", description = "体重表")
public class Weight implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("体重表主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("体重")
      private Double weight;

      @ApiModelProperty("脂肪率")
      private Double fatrate;

      @ApiModelProperty("BMI")
      private Double bmi;

      @ApiModelProperty("最近测量时间")
      private Date measuretime;

      @ApiModelProperty("内脏脂肪指数")
      private Double viscusfatindex;

      @ApiModelProperty("基础代谢率")
      private Integer metabolizerate;

      @ApiModelProperty("水分率")
      private Double moisturecontent;

      @ApiModelProperty("骨量")
      private Double bonemass;

      @ApiModelProperty("蛋白质")
      private Double protein;

      @ApiModelProperty("肌肉量")
      private Double musclemass;

      @ApiModelProperty("身体年龄")
      private Integer bodyage;

      @ApiModelProperty("身体类型id")
      private Long shBodyTypeId;

      @ApiModelProperty("用户id")
      private Long shUserId;


}
